package homework;

public class AnimalTest {
    public static void main(String[] args) {
        Dog hh = new Dog("花花",2,"黄");
        hh.eat();
        hh.drink();
        hh.lookHome();

        Dog xh = new Dog("小黑",1,"黑");
        xh.eat();
        xh.drink();
        xh.lookHome();

        Dog ww = new Dog("旺旺",3,"白");
        ww.eat();
        ww.drink();
        ww.lookHome();

        Chick jj = new Chick("啾啾",1,"黑");
        jj.eat();
        jj.drink();
        jj.layEggs();

        Chick xm = new Chick("小米",2,"黄");
        xm.eat();
        xm.drink();
        xm.layEggs();

        Chick ll = new Chick("六六",1,"红");
        ll.eat();
        ll.drink();
        ll.layEggs();

        Fish xj = new Fish("小金",2,"金");
        xj.eat();
        xj.drink();

        Fish xl = new Fish("小蓝",1,"蓝");
        xl.eat();
        xl.drink();
    }
}
